
*
{
	margin: 0px;
	padding: 0px;
	font-size: inherit;
}

.Map .Right.Border:hover 
{
	cursor: pointer;
	opacity: 0.8;
	filter:alpha(opacity=80);
}

.Square, .Tools
{
	-moz-user-select: none;
	-webkit-user-select: none;
}

body
{
	font-size: 12px;
	overflow: hidden;

}


.Game
{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: #CCCCCC;
}

.Square
{
	border: 1px solid #CCCCCC;
	width: 50px;
	height: 50px;
	position: absolute;
	background-color: #EEEEEE;
}


.Square[strong="0"] {
	background-color: rgb(212,225,255);
}
.Square[strong="5"] {
	background-color: rgb(206,219,250);
}
.Square[strong="10"] {
	background-color: rgb(200,214,245);
}
.Square[strong="15"] {
	background-color: rgb(194,208,241);
}
.Square[strong="20"] {
	background-color: rgb(187,202,236);
}
.Square[strong="25"] {
	background-color: rgb(181,196,231);
}
.Square[strong="30"] {
	background-color: rgb(175,191,226);
}
.Square[strong="35"] {
	background-color: rgb(169,185,221);
}
.Square[strong="40"] {
	background-color: rgb(163,179,217);
}
.Square[strong="45"] {
	background-color: rgb(157,173,212);
}
.Square[strong="50"] {
	background-color: rgb(151,168,207);
}
.Square[strong="55"] {
	background-color: rgb(144,162,202);
}
.Square[strong="60"] {
	background-color: rgb(138,156,197);
}
.Square[strong="65"] {
	background-color: rgb(132,150,193);
}
.Square[strong="70"] {
	background-color: rgb(126,145,188);
}
.Square[strong="75"] {
	background-color: rgb(120,139,183);
}
.Square[strong="80"] {
	background-color: rgb(114,133,178);
}
.Square[strong="85"] {
	background-color: rgb(107,127,173);
}
.Square[strong="90"] {
	background-color: rgb(101,122,169);
}
.Square[strong="95"] {
	background-color: rgb(95,116,164);
}
.Square[strong="100"] {
	background-color: rgb(89,110,159);
}

.Square.WithTroops
{
	background-image: url(../../Content/Images/troops.png);
	background-repeat: no-repeat;
	background-position: 50% 50%;	
}

.Square.WithKing,
.Square.WithKing.WithTroops
{
	background-image: url(../../Content/Images/king.png);
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.Square .Troops 
{
	position: absolute;
	left: 32px;
	-moz-border-radius: 3px;
	padding: 1px 3px 1px 3px;
	z-index: 2;
}

.Square.Me .Troops 
{
	border: 1px solid blue;
	background-color: White;
}

.Square.NotMe .Troops 
{
	border: 1px solid red;
	background-color: White;
}

.Square.Me.WithKing 
{
	background-color: Yellow;
}

.Square.NotMe.WithKing
{
	background-color: #f4cbcb;
}

.Square.Path,
.Square.Me.Path,
.Square.Me.WithKing.Path,
.Square.Me.KingDestinable.Path,
.Square.NotMe.KingDestinable.Path,
.Square.NotMe.WithKing.Path,
.Square.NotMe.Path 
{
	background-color: #d2efff;
}

.Square.Visible,
.Square.Me.Visible,
.Square.Me.WithKing.Visible,
.Square.Me.KingDestinable.Visible,
.Square.NotMe.KingDestinable.Visible,
.Square.NotMe.WithKing.Visible,
.Square.NotMe.Visible 
{
	background-color: #aad4aa;
}

.Square.Hover 
{
	z-index: 20;
}

.Square.NotMe 
{
	background-color: #ffa6a6;
}

.Square .Step 
{
	position: absolute;
	background-color: Black;
	width: 3px;
	height: 3px;
	margin-left: 1px;
	margin-top: -1px;
	left: 50%;
	top: 50%;
}

.Square:hover
{
	border: 1px solid green;
	z-index: 2;
}

.Square.Me.KingDestinable 
{
	background-color: #a6db9d;
}

.Square .Ongoing 
{
	background: url(../../Content/Images/flag_blue.png);
	width: 16px;
	height: 16px;
	position: absolute;
	bottom: 2px;
}

.Square .Incoming 
{
	background: url(../../Content/Images/flag_red.png);
	width: 16px;
	height: 16px;
	position: absolute;
	top: 2px;
}

.Square .Event
{
	background: url(../../Content/Images/information.png);
	width: 16px;
	height: 16px;
	position: absolute;
	bottom: 2px;
	right: 2px;
}

.Map
{
	position: absolute;
	top: 0px;
	right: 250px;
	bottom: 0px;
	left: 0px;
	background-color: white;
	overflow: hidden;
}

.Border
{
	position: absolute;
	right: 0px;
	top: 0px;
	left: 0px;
	bottom: 0px;
	z-index: 20;
}

.Top.Border
{
	bottom: auto;
	background-image: url(./Images/border-top.png);
	background-repeat: repeat-x;
	height: 35px;
}

.Bottom.Border
{
	top: auto;
	background-image: url(./Images/border-bottom.png);
	background-repeat: repeat-x;
	height: 35px;
}

.Left.Border
{
	right: auto;
	background-image: url(./Images/border-left.png);
	background-repeat: repeat-y;
	width: 35px;
}

.Right.Border
{
	left: auto;
	background-image: url(./Images/border-right.png);
	background-repeat: repeat-y;
	width: 35px;
}

.ContextInfo 
{
	position: absolute;
	z-index: 9;
	border: 1px solid black;
	background-color: white;
	padding: 5px;
	-moz-box-shadow: 3px 5px black;
	box-shadow: 3px 5px black;
	-webkit-box-shadow: 3px 5px black;
}

.ContextInfo dt
{
	color: #888888;
	float: left;
	clear: both;
	margin: 2px;
	white-space: nowrap;
}

.ContextInfo dd 
{
	float: left;
	margin: 2px;
	white-space: nowrap;
}

#Logo 
{
	width: 230px;
	margin: 2px 0px 2px 7px;
	height: auto;
}

a img
{
	border: 0px;
}

.Tools 
{
	position: absolute;
	top: 0px;
	width: 250px;
	bottom: 0px;
	right: 0px;
	padding-top: 10px;
	overflow: hidden;
}

.Tools .Container 
{
	margin: 10px;
	position: relative;
}

.Tools .Container .Content 
{
	border: 1px solid white;
	background-color: White;
	position: relative;
	padding: 10px;
	clear: both;
	display: none;
}

.Tools .Container .Content.Selected
{
	display: block;
}

.Tools .Container h2 
{
	margin: 0px;
	font-size: 16px;
	padding-left: 5px;
	background: url(../../Content/Images/block-title.png) no-repeat;
	height: 25px;
	line-height: 25px;
	float: left;
	width: 100px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	cursor: default;
}

.Tools .TabPane h2:hover 
{
	opacity: 0.7;
	filter: alpha(opacity=70);
}

.Tools .Container h2 + h2 
{
	margin-left: -20px;
	padding-left: 25px;
	background-image: url(../../Content/Images/block-title-inline.png)
}

.Tools .Container h2.Selected 
{
	opacity: 1;
	filter: alpha(opacity=100);
}

.Tools div.Logs 
{
	height: 300px;
}

li 
{
	list-style: none;
}

.Tools div.Logs ol 
{
	margin: 20px;
	overflow: auto;
	height: 250px;
}

.Tools div.Logs ol li 
{
	padding: 5px 3px 5px 3px;
	cursor: pointer;
	list-style: none;
}

.Tools div.Logs ol li .Date 
{
	font-size: 11px;
}

.Tools div.Logs ol li:hover 
{
	background-color: #CCCCCC;
}

.Tools div.Army 
{
	background-color: White;
	border: 1px solid black;
}

.Tools div.Army dl 
{
	padding: 10px 10px 10px 20px;
}


.Tools div.Army dt 
{
	float: left;
	clear: both;
	padding: 5px;	
	font-size: 14px;
	font-weight: bold;
}


.Tools div.Army dd 
{
	float: left;
	font-size: 14px;
	padding: 5px;	
}

.Tools div.Actions 
{
	position: relative;
	border: 1px solid black;
}

.Tools div.Actions ol 
{
	padding: 10px;
}

.Tools div.Actions li 
{
	padding: 2px;
	border: 1px solid transparent;
	cursor: pointer;
	font-size: 14px;
	line-height: 40px;
	height: 40px;
}

.Tools div.Actions li.Pushed
{
	border: 1px solid black;
	background-color: #EEEEEE;
}

.Tools div.Actions li img 
{
	float: left;
	margin-right: 10px;
	margin-left: 10px;
	margin-top: 2px;
}

.Tools div.Actions li:hover 
{
	background-color: #CCCCCC;
	border: 1px solid #BBBBBB;
}

.Templates 
{
	display: none;
}

.Overlay 
{
	background-color: Black;
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	z-index: 10;
	opacity: 0.5;
	filter: alpha(opacity=50);
	display: none;
}

.Dialogs .Dialog 
{
	position: absolute;
	width: 400px;
	left: 50%;
	margin-left: -200px;
	top: 30%;
	background-color: White;
	border: 1px solid #EEEEEE;
	z-index: 15;
	-moz-box-shadow: 3px 5px black;
	box-shadow: 3px 5px black;
	-webkit-box-shadow: 3px 5px black;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.Dialogs .Dialog .Titlebar
{
	border-bottom: 1px solid #EEEEEE;
	background-color: #CCCCCC;
	padding: 2px 10px 2px 10px;
	font-weight: bold;
	font-size: 14px;
	border-radius: 10px 10px 0px 0px;
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;
}

.Dialogs .Dialog .Content 
{
	padding: 5px;
}

.Dialogs .Dialog .Buttons input
{
	float: right;
	margin: 2px;
}

.Dialog p 
{
	padding: 5px;
	font-size: 14px;
} 

.Dialog .Slider 
{
	height: 10px;
	border: 1px solid #CCCCCC;
	margin: 15px;
	position: relative;
}

.Dialog .Slider .ui-slider-range
{
	height: 100%;
	background-color: #b9ceff;
}

.Dialog .Slider .ui-slider-handle 
{
	background-color: #CCCCCC;
	top: 0px;
	width: 16px;
	height: 16px;
	margin-top: -3px;
	margin-left: -3px;
	display: block;
	position: absolute;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-o-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#Loader 
{
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -50px;
	margin-top: -50px;
}

.Logout 
{
	display: block;
	position: absolute;
	right: 10px;
	top: 0px;
	z-index: 10;
}

.ZoomOut
{
	display: block;
	position: absolute;
	right: 40px;
	top: 0px;
	z-index: 10;
	cursor: pointer;
}

.ZoomIn
{
	display: block;
	position: absolute;
	right: 60px;
	top: 0px;
	z-index: 10;
	cursor: pointer;
}

.Disabled 
{
	opacity: 0.5;
	filter: alpha(opacity=50);
	cursor: normal;
}